package com.atguigu.springcloud;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * @Author 懵懂的青春
 * @Date 2020/8/1 23:13
 * @Version 1.0
 * @Description
 **/
public class Test {
    public static void main(String[] args) {
        AtomicInteger atomicInteger = new AtomicInteger(0);
        System.out.println(atomicInteger.compareAndSet(0,5));
    }
}
